Auto Focus

By default, the editable area will be focused when initializing. If you want to cancel auto focus that using editor.config.focus.

You can use editor.config.focus to cancel auto focus. For example:

const editor = new E('#div1')

// cancel auto focus
editor.config.focus = false

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2022-04-11 06:40:29

results matching ""

    No results matching ""